<template>
  <div>
    <p class="title">查看</p>
    <div>
      <div class="header">
        <p>基本信息</p>
        <el-button type="primary">返回</el-button>
      </div>
      <div class="box">
        <div class="box1">
          <p>用户名称：</p>
          <p>xxxx</p>
        </div>
        <div class="box1">
          <p>用户名：</p>
          <p>xxxx</p>
        </div>
        <div class="box1">
          <p>手机号：</p>
          <p>xxxx</p>
        </div>
        <div class="box1">
          <p>微信号：</p>
          <p>xxxx</p>
        </div>
        <div class="box1">
          <p>状态：</p>
          <p>xxxx</p>
        </div>
        <div class="box1">
          <p>身份证号：</p>
          <p>xxxxxxxxxxxxxxxx</p>
        </div>
      </div>
      <div class="imgbox">
        <h3>证件信息</h3>
        <img src="" alt="" />
        <img src="" alt="" />
      </div>
      <div class="remark">
        <span>备注：</span>
        <span>审核不过的原因</span>
      </div>
      <div class="btn">
        <el-button type="primary">不通过</el-button>
        <el-button type="primary" @click="succ">通过</el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    // 审核通过
    succ() {
            this.$confirm('是否确定审核通过', '提示', {
          confirmButtonText: '确定',
          cancelButtonText: '取消',
          type: 'warning'
        }).then(() => {
          this.$message({
            type: 'success',
            message: '审核通过!'
          });
        }).catch(() => {
          this.$message({
            type: 'info',
            message: '已取消审核'
          });          
        });
    },
  },
};
</script>

<style lang="scss" scoped>
.title {
  margin-top: -10px;
  font-size: 14px;
}
.header {
  display: flex;
  justify-content: space-between;
  .el-button {
    width: 120px;
    height: 40px;
  }
}
.box {
  display: flex;
  width: 850px;
  flex-wrap: wrap;
  .box1 {
    display: flex;
    width: 210px;
  }
}
.imgbox {
  img {
    width: 220px;
    height: 132px;
    border: 1px solid;
    margin-right: 40px;
    background-color: #ccc;
  }
}
.remark {
  margin-top: 20px;
}
.btn {
  width: 400px;
  margin: 0 auto;
  margin-top: 40px;
  .el-button {
    margin: 0 20px;
    width: 120px;
  }
}
</style>